var _NORMAL ="0000000";

/*hot key code */
var ENT_KEY=13;
var F1_KEY =112;
var F2_KEY =113;
var F3_KEY =114;
var F4_KEY =115;
var F5_KEY =116;
var F6_KEY =117;
var F7_KEY =118;
var F8_KEY =119;
var F9_KEY =120;
var F10_KEY=121;
var F11_KEY=122;
var F12_KEY=123;

/**
 * buuton--function code
 * @author CMJ
 */
var AuthObj = {
    p_1100_f6_btn: "F_1100_RELEASE_PRD",
	p_1100_f8_btn: "F_1100_ASSIGN_PRD",
	p_1100_f9_cancel_unpack_btn: "F_1100_RELEASE_CANCEL",
	p_1100_wip_retain_btn:"F_1100_WIP_RETAIN",
	p_1100_wip_retain_cancel_btn:"F_1100_WIP_RETAIN_CANCEL",
 	p_1400_process_start_btn:"F_1400_PROCESS_START",
 	p_1400_f7_btn:"F_1400_LOGON",
 	p_1400_f6_btn:"F_1400_PRD_IN",
 	p_1400_f8_btn:"F_1400_LOGOF",
 	p_1400_save_buff_time_btn:"F_1400_SAVE_BUFF_TIME",
 	p_1400_issue_move_out_btn:"F_1400_ISSUE_MOVE_OUT",
 	p_1400_f9_btn:"F_1400_PRD_IN_CANCEL",
 	p_1400_wip_retain_btn:"F_1400_WIP_RETAIN",
 	p_1400_wip_retain_cancel_btn:"F_1400_WIP_RETAIN_CANCEL",
	p_1600_scrp_btn:"F_1600_SCRAP",
	p_1600_scrp_cancel_btn:"F_1600_SCRAP_CANCEL",
	p_1700_f7_btn:"F_1700_HOLD",
	p_1800_f7_btn:"F_1700_RELEASE",
	p_2100_change_btn:"F_2100_CHANGE_BOX",
//	p_2200_process_start_btn:"",
//	P_2200_f8_btn:"",
	p_2300_ipqc_btn:"F_2300_IPQC",
	p_2600_bank_out_btn:"F_2600_BANK_OUT",
	p_2600_bank_in_btn:"F_2600_BANK_IN",
	p_2700_change_btn:"F_2700_CHANGE_WO",
	p_3100_f8_btn:"F_3100_REGISTER",
	p_3200_f8_btn:"F_3200_REGISTER",
	p_4100_f4_btn: "F_4100_DELETE",
	p_4100_f5_btn:"F_4100_UPDATE",
	p_4100_f8_btn:"F_4100_REGISTER_MTRL_BOX",
//	p_4100_f9_btn:"",
	p_4100_f11_bind_btn:"F_4100_BIND_SO",
	p_4100_print_btn:"F_4100_PRINT",
//	p_4200_f1_btn:"",
//	p_4200_f2_btn:"",
	p_4200_f8_btn:"F_4200_STORE_ISSUE",
//	p_4300_f1_btn:"",
	p_4300_f5_btn:"F_4300_WEIGHT",
	p_4300_f8_btn:"F_4300_WHIN",
//	p_4300_queryBox_btn:"",
	p_4400_wh_out_btn:"F_4400_WH_OUT",
//	p_4400_query_ship_notice_btn:"",
//	p_4500_f4_btn:"",
//	p_4500_f5_btn:"",
	p_4500_f8_btn:"F_4500_WH_CHG",
	p_4600_f5_btn:"F_4600_MATERIAL_IN",
	p_4600_f4_btn:"F_4600_RETURN_MATERIAL",
	p_4700_f5_btn:"F_4700_STORE_ISSUE",
//	p_4A00_delete_btn:"",
//	p_4A00_add_btn:"",
	p_4A00_regist_btn:"F_4A00_REGISTER",
//	p_4B00_delete_btn:"",
//	p_4B00_add_btn:"",
	p_4B00_regist_btn:"F_4B00_REGISTER",
	p_4C00_rtn_btn:"F_4C00_FROM_WH_TO_LINE",
	p_4D00_rtn_btn:"F_4D00_FROM_OUT_TO_LINE",
	p_5100_f4_del_btn:"F_5100_DELETE",
	p_5100_f4_del_btn:"F_5100_DELETE_SO",
	p_5100_f5_upd_btn:"F_5100_UPDATE_SO",
	p_5100_f8_add_btn:"F_5100_ADD_SO",
	p_5100_f12_show_wo_btn:"F_5100_SHOW_WO",
	p_5100_f11_bind_btn:"F_5100_BIND_WO",
	p_5100_f6_close_btn:"F_5100_CLOSE_SO",
	p_5100_f7_open_btn:"F_5100_OPEN_SO",
	p_5100_exportBtn:"F_5100_EXPORT_FILE",
	p_5200_f4_del_btn:"F_5200_DELETE_WO",
	p_5200_f8_add_btn:"F_5200_ADD_WO",
	p_5200_f5_upd_btn:"F_5200_UPDATE_WO",
	p_5200_f6_close_btn:"F_5200_CLOSE_WO",
	p_5200_f7_open_btn:"F_5200_OPEN_WO",
	p_5400_f4_del_btn:"F_5400_DELETE_DN",
	p_5400_f5_upd_btn:"F_5400_UPDATE_DN",
	p_5400_f8_regist_btn:"F_5400_REGISTER_DN",
	p_5500_f4_del_btn:"F_5500_DELETE_DPS",
	p_5500_f8_add_btn:"F_5500_ADD_DPS",
	p_5500_f5_upd_btn:"F_5500_UPDATE_DPS",
	p_5500_f9CloseDpsBtn:"F_5500_CLOSE_DPS",
	p_5500_f10OpenDpsBtn:"F_5500_OPEN_DPS",
	p_5500_f11_autoCreateDpsId_btn:"F_5500_AUTO_CREATE_DPSID",
	p_6100_f4_del_btn:"F_6100_DELETE_PATH",
//	p_6100_f6_add_btn:"F_6100_ADD_",
	p_6100_f8_regist_btn:"F_6100_SAVE_PATH",
	p_6200_f4_del_btn:"F_6200_DELETE_LAYOUT",
	p_6200_f9_save_btn:"F_6200_SAVE_LAYOUT",
	p_6300_f6_add_btn:"F_6300_ADD_DATA",
	p_6300_f8_addDataCate_btn:"F_6300_ADD_DATA_CATE",
	p_6300_f9_deleteDataCate_btn:"F_6300_DELETE_DATA_CATE",
	p_6400_f4_del_btn:"F_6400_DELEE_MDL",
	p_6400_f5_upd_btn:"F_6400_UPDATE_MDL",
	p_6400_f6_add_btn:"F_6400_ADD_MDL",
	p_6400_f9_save_btn:"F_6400_SAVE_DML",
	p_6500_f4_del_btn:"F_6500_DELETE_OPE",
	p_6500_f9_save_btn:"F_6500_SAVE_OPE",
	p_6700_f4_del_btn:"F_6700_DELETE_MATERIAL",
	p_6700_f9_save_btn:"F_6700_SAVE_MATERIAL",
	p_6800_f4_del_btn:"F_6800_DELETE_EQPT",
	p_6800_f9_save_btn:"F_6800_SAVE_EQPT",
	p_6B00_f4_del_btn:"F_6B00_DELETE_BOX",
	p_6B00_f8_regist_btn:"6B00_CREATE_BOX",
	p_6C00_f4_del_btn : "F_6C00_DELETE_CUS_INFO",
	p_6C00_f8_register_btn : "F_6C00_REGISTER_CUS_INFO",
	p_6D00_f4_del_btn:"F_6D00_DELETE_LAYOUT_GROUP",
	p_6D00_f9_save_btn:"F_6D00_SAVE_LAYOUT_GROUP",
}